home *** CD-ROM | disk | FTP | other *** search
- 4th August 1992
- -----------------------------------------------------------------------------
- Support Group Application Note
- Number: 039
- Issue: 1
- Author:
- -----------------------------------------------------------------------------
-
- Changing the RS423 Data Format
-
- -----------------------------------------------------------------------------
- Applicable Hardware: BBC B
- BBC B+
- Master 128
- Master 512
- Master Turbo
- Master Compact (if RS423 fitted)
-
- Related Application Notes:
-
-
- -----------------------------------------------------------------------------
- Copyright (C) Acorn Computers Limited 1992
-
- Every effort has been made to ensure that the information in this leaflet is
- true and correct at the time of printing. However, the products described in
- this leaflet are subject to continuous development and improvements and
- Acorn Computers Limited reserves the right to change its specifications at
- any time. Acorn Computers Limited cannot accept liability for any loss or
- damage arising from the use of any information or particulars in this
- leaflet. ACORN, ECONET and ARCHIMEDES are trademarks of Acorn Computers
- Limited.
- -----------------------------------------------------------------------------
- Support Group
- Acorn Computers Limited
- Acorn House
- Vision Park
- Histon
- Cambridge CB4 4AE
- -----------------------------------------------------------------------------
-
-
- The format can be altered to any of those shown below, by means of the
- FX/OSBYTE call with A=&9C (156) and X=appropriate value.
-
- In order not to alter other parameters of the 6850 ACIA chip, a mask is
- supplied with the call specifying which bits are to be altered. This mask
- MUST be &E3 (227). The following data byte is then supplied to set the
- format.
-
- VALUE FORMAT
- 0 7 Bits + Even Parity + 2 Stop Bits
- 4 7 Bits + Odd Parity + 2 Stop Bits
- 8 7 Bits + Even Parity + 1 Stop Bit
- 12 7 Bits + Odd Parity + 1 Stop Bit
- 16 8 Bits + 2 Stop Bits
- 20 8 Bits + 1 Stop Bit
- 24 8 Bits + Even Parity + 1 Stop Bit
- 28 8 Bits + Odd Parity + 1 Stop Bit
-
-
- The call is made either by:
-
- *FX 156, VALUE (from above), 227
-
- or by calling OSBYTE (JSR &FFF4) with A=156, X=VALUE (as above), Y=227.